package com.onesports.intelligent.k12.polarlight.domain.vo.operation;

import com.fasterxml.jackson.annotation.JsonFormat;
import cn.gjing.excel.base.annotation.Excel;
import cn.gjing.excel.base.annotation.ExcelField;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;


/**
 * 财务流水分页
 *
 * @author
 * @since 1.0.0 2022-07-08
 */
@Data
@ApiModel(value = "财务流水分页")
@Excel("财务流水记录")
public class FundsTradeBillPageVO {
    private static final long serialVersionUID = 1L;


    @ApiModelProperty(value = "订单编号")
    @ExcelField(value = "订单编号")
    private String tradeNo;

    @ApiModelProperty(value = "会员")
    @ExcelField(value = "会员")
    private String name;

    @ApiModelProperty(value = "手机号")
    @ExcelField(value = "手机号")
    private String phone;

    @ApiModelProperty(value = "充值金额（元）")
    @ExcelField(value = "充值金额（元）", format = "0.00")
    private BigDecimal amount;

    @ApiModelProperty(value = "充值时间")
    @ExcelField(value = "充值时间",format = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date operateTime;

}
